home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d20
/
compr230.arc
/
COMPRESS.DOC
next >
Wrap
Text File
|
1991-12-22
|
9KB
|
376 lines
Compress v2.30
By Ed Crissey, FidoNet 1:268/69
(C) Copyright 1990 by Ed Crissey. All Rights Reserved.
December 21th, 1991
-----------------------------------------------------------------------------
Compress v2.30 Page 2
INTRODUCTION
Compress is a utility that will allow users of many different
mailers and bulletin board systems to compress their log files, see
page 5 for a complete list of all supported systems. This will
elimate the need to delete these files every few days after they
have grown to monstrous proportions. There is a Config file you will
will need to create for compress. The default name of the file is
'Compress.cfg' and it must be placed in the same directory as the
Compress pgm unless you use the '-C' Command Line Option. The format
of the config file is as follows:
Line1: SysOp Name ( If your copy is not registered then leave )
Line2: System Name ( these three lines blank. Compress is )
Line3: Registration Code ( fully functional either way )
Lines 4 - Eof: Here you specify the command line(s) parameters.
One line is for one type of Log. With a few examples as
Follows:
-tqbbs -d3 -pc:\qbbs\system.log
-tdb -d6 -pc:\db\dbridge.log -q
The config file command line paramters are explained as follows on the
next page:
COMMAND LINE PARAMETERS
Compress
This invokes Compress and scans the current drive for 'Compress.cfg'
Compress -cc:\bbs\jungle.man
The invokes Compress and uses Config File 'Jungle.man' in Directory c:\bbs
'-C' is currently the only command line parameter available. All others
specified will be ignored.
-----------------------------------------------------------------------------
Compress v2.30 Page 3
CONFIG FILE COMMAND LINE OPTIONS
[-t] [-d] [-p] [-q] [-logdiag]
-T
---------------------------------------------------------
The -T parameter is to tell compress what log file format
to compress and the valid options thus far are
-TDB to compress the DataBridge Log Format.
-TQBBS to compress the QuickBBS Log Format.
-TBINK to compress the BinkleyTerm Log Format.
-TRAEXP to compress the RemoteAccess Expanded Log Format.
-TRA to compress the RemoteAccess Compressed Log Format.
-TFRONT to compress the FrontDoor Log Format. (Or Ra Compressed Format)
-TDICT to compress the Dictator Log Format.
-TTICK to compress the Tick Log Format.
-TZMAIL to compress the Zmail Log Format.
-TMSGRATIO to comrpess the MsgRatio Log Format.
-TQM to compress the Qmail Log Format.
-TMAX to compress the Maximus Log Format.
-TMSGTRACK to compress the Msgtrack Log Format.
-TXPRESS to compress the Xpress Log Format.
-TTM to compress the TeleMail Log Format.
-TIMAIL to compress the Imail Log Format.
-D
---------------------------------------------------------
The -D parameter tells Compress how many days worth of log
data that you wish to retain. The valid range is from
0 to 255. Compress will scan the log file for the
datestamp on each record and determine what the X newest
days are whether they be consecutive or not and purge the
rest.
-P
--------------------------------------------------------
The -P option is used to tell Compress the full path as to
where the log file is.
-Q
--------------------------------------------------------
The -Q option tells Compress to be quiet.
-LOGDIAG
--------------------------------------------------------
The -LOGDIAG option tells Compress to run in Diagnostic Mode.
-----------------------------------------------------------------------------
Compress v2.30 Page 4
v1.01 - To delete header title of QuickBBS log
v1.02 - Fix Bug in QuickBBS routine becuz of blank line after header
v1.10 - Added support for a online game called Dictator,BinklyTerm 2.40,
FrontDoor 1.99c, and Opus. Since Remote Access uses the Opus or
FrontDoor Log style that will work as well.
v1.11 - Renamed the -TOPUS to -TRAOPUS since the routine works with the
Remote Access OPUS style log but not the OPUS log. Do not use it
on an OPUS log.
v1.20 - Added support for Tick v2.00, Zmail v1.12, and MsgRatio v1.10
v2.00 - Performed a major rewrite of compress. See Upgrade file for
details. Added support for Qm and Maximus. Added a Quiet Mode
Option also. There is also a config file that needs to be created.
v2.10 - Added support for Msgtrack v3.10, Xpress v2.29, TeleMail v1.40.
Compress v2.10 was re-compiled with TP 6.0.
v2.11 - Increased the log record size from 80 bytes to 132 bytes. This
should prevent information from being chopped out of the log.
v2.20 - Added Support for Remote Access v1.10 Expanded log format. This
option is '-TRA' and you no longer need to run '-TFRONT' for the
Remote Access Expanded Log Format. Renamed the '-TRAOPUS' to just
'-TRA' for the compressed format. Also fixed a minor cosmetic
in the Qmail routine.
v2.30 - Added Support for Imail V1.21.
-----------------------------------------------------------------------------
Compress v2.30 Page 5
** What is supported by Compress **
1. DataBridge v1.30
2. QuickBBS v2.75
3. Remote Access v1.10
4. BinkleyTerm v2.50
5. FrontDoor v1.99c
6. Dictator v1.30
7. Tick v2.00
8. Zmail v1.25
9. MsgRatio v1.10
10. Qmail v1.00
11. Maximus v1.02
12. MsgTrack v3.10
13. Silver Xpress v2.29
14. TeleMail v1.40
15. Imail v1.21
The above is what Compress has currently been tested with. If you plan on
testing it with a new release or a product not mentioned above I suggest
making a backup of your log before trying Compress on it. If you would like
to have another log format supported by Compress just sent me a copy of the
log with a few days worth of data iun it and I'll get it into a future release.
-----------------------------------------------------------------------------
Compress v2.30 Page 6
DOS ERRORLEVEL EXIT CODES
Compress will terminate with one of the following DOS errorlevels
set:
0 .... Log File was successfully compressed.
1 .... -T parameter not specified or is invalid.
2 .... -D parameter not specified or is invalid.
3 .... -P parameter not specified or is invalid.
4 .... Log File was not found at specified path.
5 .... I/O error on the Log File.
6 .... Configuration File not found.
DISCLAIMER
This program is guaranteed to do absolutely nothing. Use it at
your own risk. No warranty is stated or implied. The author shall
not be responsible for any damages resulting from it's use, directly
or indirectly.
This software MUST be distributed free of charge. UNDER ABSOLUTELY
NO CIRCUMSTANCES MAY IT BE SOLD! It is copyrighted and is the sole
property of the author. It may not be distributed in modified form.
You may use the software only after agreeing upon the above terms.
** End of Documentation **